
import React, { Component } from 'react';
import { Button as _Button } from 'antd-mobile';
import { base } from 'nc-lightapp-mobile';

const { ButtonWrapper } = base;
const Button = ButtonWrapper(_Button);

class Bordered extends Component {
	render() {
		return (
			<div className="demo-button-bordered">
				<Button bordered={false}>主要按钮</Button>
				<Button bordered={false} type="secondary">
					次要按钮
				</Button>
				<h2>无边框小按钮</h2>
				<div className="flex-container">
					<Button bordered={false} size="small">
						主要按钮
					</Button>
					<Button bordered={false} size="small" type="secondary">
						次要按钮
					</Button>
				</div>
			</div>
		);
	}
}
export default Bordered;
